{% extends "base.html" %}
{% load i18n %}
{% load markup %}

{% block title %}
{% trans "Blogs" %} - {{ weblog }} - {{ object.title }}
{% endblock %}

{% block extrahead %}
<link rel="alternate" type="application/rss+xml" title="RSS 2.0"
      href="http://{{ site.domain }}/rss/blogs/{{ weblog.slug }}/" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0"
      href="http://{{ site.domain }}/atom/blogs/{{ weblog.slug }}/" />
{% endblock %}

{% block content %}
<h2>{% trans "Blogs" %}</h2>
<h4>{{ weblog }}</h4>
<h3>{{ object.title }}</h3>
<p class="date">{{ object.pub_date|date:"l, F jS, Y" }}</p>
<p class="byline">{% trans "By" %}{% ifnotequal object.user.get_full_name "" %} {{ object.user.get_full_name }}{% else %} {{ object.user.username }}{% endifnotequal %}</p>
{{ object.body|markdown }}
{% endblock %}
